package com.project.JunM.mapper;

import com.project.JunM.entity.SPayDetails;

import java.util.List;

public interface SPayDetailsMapper {

    List<SPayDetails> queryDynamicInventoryAll();

    List<SPayDetails> querySPayDetailsAll(Integer parentId);

    List<SPayDetails> querySPayDetailsCheckInAll(Integer parentId);

    SPayDetails querySPayDetailsByParentIdByProductId(SPayDetails sPayDetails);

    SPayDetails querySPayDetailsByParentIdByProductId1(Integer pId,String productId);

    List<SPayDetails> querySPayDetails();

    SPayDetails selectByProductId(SPayDetails sPayDetails);

    int updateSPayDetailsByProductId(SPayDetails record);

    int deleteByPrimaryKey(Integer id);

    int insert(SPayDetails record);

    int insertSelective(SPayDetails record);

    SPayDetails selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SPayDetails record);

    int updateByPrimaryKey(SPayDetails record);
}